-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Add GPU version of contrib.boolean_mask #14090
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please fix the CI issues :-) |
great work! thanks |
prefix_sum, | ||
prefix_sum, | ||
idx_size, | ||
Stream<gpu>::GetStream(s)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you please add comments to explain the purpose of the code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, please check.
ba9ec22
to
9f5e460
Compare
@mxnet-label-bot add [pr-awaiting-review, Operator] |
dcaee54
to
ba65b42
Compare
src/operator/contrib/boolean_mask.cc
Outdated
const std::vector<OpReqType> &req, | ||
const std::vector<NDArray> &outputs) { | ||
// TODO(@junrushao1994): This implementation is a proof-of-concept, | ||
// hence very slow actually. Performance should be improved in the future. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove the comment here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please remove the old comments. otherwise, it looks good to me.
ba65b42
to
421a037
Compare
@zheng-da Should be good for merge once build passes |
Looks like there are some issues with the CI. Could you try again? |
2ef0507
to
3051c7c
Compare
3051c7c
to
443d558
Compare
Description
The same as title
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.
Changes
Comments